<? if(!defined('IN_MDL')) exit('Access Denied');?>
<? include $this->gettpl('header');?>
<SCRIPT LANGUAGE="JavaScript">
<!--
 <?=$pageinfo?>
//-->
</SCRIPT>
 

<form action="<? echo U('Order/confirm')?>" method=post>
 <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#e6e6e6"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top" bgcolor="#FFFFFF"><table width="900" border="0" align="center" cellpadding="0" cellspacing="10" bgcolor="#666666">
          <tr>
            <td height="600" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="720" height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              <tr>
                <td height="30" colspan="3" bgcolor="#f9f9f9"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="25"><img src="<?=APPPUBLIC?>Images/Public/Point.gif" width="14" height="10" /></td>
                    <td class="Categories_Menu"><a href="#" class="Categories_Menu_a">首页</a> <font face="宋体">></font> 订单填写</td>
                    </tr>
                  </table></td>
                </tr>
              <tr>
                <td height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              </table>
              <table border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="100" valign="bottom"><img src="<?=APPPUBLIC?>Images/ShoppingBag/Title_1.gif" /></td>
                  <td width="50"></td>
                  <td valign="bottom"><img src="<?=APPPUBLIC?>Images/ShoppingBag/Title_2_2.gif" /></td>
                  <td width="50"></td>
                  <td valign="bottom"><img src="<?=APPPUBLIC?>Images/ShoppingBag/Title_3.gif" /></td>
                  </tr>
                <tr>
                  <td height="30" colspan="5">&nbsp;</td>
                  </tr>
                </table>
				<TABLE width=98% border=0 cellpadding="3" cellspacing="0" align="center" >
				 <tr >
                  <td width="80%" class="Order_Title"  > 收货人信息</td>
                 <td width="20%" class="Order_Title"  ><a href="<? echo U('Order/checkout')?>" class="edit">修改</a></td>
                </tr>
				<TR>
					<td colspan=2>
					<div id="div_user_address_table">
					 <? include $this->gettpl('order_address');?>
					</div> 
					</td>
				</tr>
				 <tr >
                  <td width="80%" class="Order_Title"  >  配送方式</td>
                 <td width="20%" class="Order_Title"><a href="<? echo U('Order/shiping')?>" class="edit">修改</a></td>
                </tr>
				<tr>
				<td colspan=2  height="60">
				<input type=hidden name=address_id value=<?=$myaddress['address_id']?>>
				 快递－支持货到付款－运费15元每单，购物满200元免运费。
				</td>
				</tr>
				 <tr >
                  <td width="80%" class="Order_Title"  >  支付方式</td>
                 <td width="20%" class="Order_Title"  ><a href="<? echo U('Order/payment')?>" class="edit">修改</a></td>
                </tr>
                      <tr>
                      <td colspan=2><span class="Order_Txt">
                        <?=$payinfo['pay_name']?></span></td>
                      <td class="Order_txt2"> </td>
                </tr>     
				 <tr >
                  <td colspan=2 class="Order_Title"  >  送货时间</td>
                 </td>
                </tr>

				  <? foreach((array)$orderday as $key => $val) {?>	
                      <tr>
                      <td colspan=2><span class="Order_Txt">
                        <input type="radio" name="day_id"   value="<?=$val['id']?>"   <? if($order['day_id']==$val['id']) { ?>checked<? } ?> />
                        <?=$val['name']?>&nbsp;&nbsp;<?=$val['des']?></span></td>
                       
                      </tr>     
					  <?}?>
				<tr >
                  <td  colspan=2    height="80"> <input name="" type="submit"  class="input_4"  value="确定没问题" /></td>
                 
                </tr>
				</table>
                
                </td>
            </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
</form>


<? include $this->gettpl('footer');?>